package com.openx.xoj.mapper;

import com.openx.xoj.model.Teacher.ExamQuestion;
import io.lettuce.core.dynamic.annotation.Param;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExaminationQuestionMapper {

    int insertExamQuestion(@Param("examId") long examId, @Param("questionId") long questionId);

    int deleteExamQuestion(@Param("examId") long examId, @Param("questionId") long questionId);

    List<ExamQuestion> findQuestionsByExamId(long examId);
}
